﻿using NP.BPMReportPlatform.Reports.CommonReportConfigs.Dtos;
using NPOI.SS.UserModel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace NP.BPMReportPlatform.Reports.CommonReportConfigs
{
    public interface ICommonReportService : IApplicationService
    {
        Task<PagedResultDto<object>> GetAllAsync(CommonReportInput input);

        Task AddData(CommonReportInput input);

        Task UpdateData(CommonReportInput input);

        Task Delete(CommonReportInput input);

        Task<IWorkbook> ExportData(CommonReportInput input);

        Task<List<string>> ImportData(byte[] bytes, string moduleId);

        Task<object> GetPageConfigs(string pageId);
    }
}
